package cn.edu.huanu.pojo;

import java.time.LocalDate;

/**
 * @author hb
 * @date 2025-11-06 10:46:18
 */
public class Book {
    /** 编号 */
    private Integer id;
    /** 书名 标题 */
    private String title;
    /**作者*/
    private String author;
    /** 价格 */
    private double price;
    /** 开本 */
    private String format;
    /** 用纸 */
    private String paper;
    /** 包装 */
    private String packing;

    private String isbn;
    /** 图片链接 */
    private String pic;
    /** 类别编号 */
    private Integer cid;
    /** 出版社 */
    private String publisher;
    /** 是否上架 */
    private boolean isonline;
    /** 出版时间 */
    private LocalDate pubdate;
    /** 图书详细信息 */
    private String content;

    /** 首页图书序号*/
    private int order;

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the price
     */
    public double getPrice() {
        return price;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(double price) {
        this.price = price;
    }

    /**
     * @return the format
     */
    public String getFormat() {
        return format;
    }

    /**
     * @param format the format to set
     */
    public void setFormat(String format) {
        this.format = format;
    }

    /**
     * @return the paper
     */
    public String getPaper() {
        return paper;
    }

    /**
     * @param paper the paper to set
     */
    public void setPaper(String paper) {
        this.paper = paper;
    }

    /**
     * @return the packing
     */
    public String getPacking() {
        return packing;
    }

    /**
     * @param packing the packing to set
     */
    public void setPacking(String packing) {
        this.packing = packing;
    }

    /**
     * @return the isbn
     */
    public String getIsbn() {
        return isbn;
    }

    /**
     * @param isbn the isbn to set
     */
    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    /**
     * @return the pic
     */
    public String getPic() {
        return pic;
    }

    /**
     * @param pic the pic to set
     */
    public void setPic(String pic) {
        this.pic = pic;
    }

    /**
     * @return the cid
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * @param cid the cid to set
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    /**
     * @return the publisher
     */
    public String getPublisher() {
        return publisher;
    }

    /**
     * @param publisher the publisher to set
     */
    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    /**
     * @return the isonline
     */
    public boolean isIsonline() {
        return isonline;
    }

    /**
     * @param isonline the isonline to set
     */
    public void setIsonline(boolean isonline) {
        this.isonline = isonline;
    }

    /**
     * @return the pubdate
     */
    public LocalDate getPubdate() {
        return pubdate;
    }

    /**
     * @param pubdate the pubdate to set
     */
    public void setPubdate(LocalDate pubdate) {
        this.pubdate = pubdate;
    }

    /**
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content the content to set
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return the author
     */
    public String getAuthor() {
        return author;
    }

    /**
     * @param author the author to set
     */
    public void setAuthor(String author) {
        this.author = author;
    }
}
